package com.design.alex.adapter;

public class AdapterPatternDemo {

    public static void main(String[] args) {
        AudioPlayer audioPlayer = new AudioPlayer();

        audioPlayer.play("mp3", "听妈妈的话.mp3");
        audioPlayer.play("vlc", "听妈妈的话.vlc");
        audioPlayer.play("mp4", "听妈妈的话.mp4");
        audioPlayer.play("mp5", "听妈妈的话.mp5");
    }
}
